package com.example.ehCache;

import javassist.NotFoundException;

/**
 * Created by Administrator on 2017/1/11 0011.
 */
public interface DemoInfo2Service {

    void delete(Long id);

    DemoInfo2 update(DemoInfo2 updated) throws NotFoundException;

    DemoInfo2 findById(Long id);

    DemoInfo2 save(DemoInfo2 demoInfo);

}
